<template>
  <el-row style="margin: 10px 0 20px;" align="middle">
    <el-button type="primary">导出shp文件</el-button>
    <el-button type="primary">导出excel文件</el-button>
    <el-button type="primary">破坏等级分析图</el-button>
    <el-button type="primary">功能失效分析图</el-button>
    <span style="padding: 0 12px;">{{ route.meta.title }}破坏状态</span>
  </el-row>
  <el-table :data="tableList">
    <el-table-column label="省" prop="province" align="center"></el-table-column>
    <el-table-column label="市" prop="city" align="center"></el-table-column>
    <el-table-column label="区（县）" prop="county" align="center"></el-table-column>
    <el-table-column label="经度" prop="longitude" align="center"></el-table-column>
    <el-table-column label="纬度" prop="latitude" align="center"></el-table-column>
    <el-table-column label="名称" prop="name" align="center"></el-table-column>
    <el-table-column label="破坏状态" prop="name" align="center"></el-table-column>
    <el-table-column label="破坏状态修正值" prop="name" align="center"></el-table-column>
    <el-table-column label="失效等级" prop="name" align="center" v-if="type == TYPE.waterSupply"></el-table-column>
    <el-table-column label="失效等级修正值" prop="name" align="center" v-if="type == TYPE.waterSupply"></el-table-column>
  </el-table>
  <!-- <pagination style="margin-top: 15px" v-show="queryParams.total > 0" :total="queryParams.total"
          v-model:page="queryParams.page" v-model:limit="queryParams.rows" @pagination="viewTable" /> -->
</template>
<script setup>
import { TYPE } from '@/views/lifelineProject/index'
const route = useRoute()
const tableList = ref([])
defineProps({
  type: String
})
</script>